package com.mdd.admin.validate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.*;
import java.util.Date;
import com.mdd.common.validator.annotation.IDMust;

/**
 * 敏感词列参数
 * @author LikeAdmin
 */
@Data
@ApiModel("敏感词列更新参数")
public class LegalSensitiveWordUpdateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @IDMust(message = "id参数必传且需大于0")
    @ApiModelProperty(value = "")
    private Long id;

    @NotNull(message = "code参数缺失")
    @ApiModelProperty(value = "模板code")
    private String code;

    @NotNull(message = "tplName参数缺失")
    @ApiModelProperty(value = "模板名称")
    private String tplName;

    @NotNull(message = "word参数缺失")
    @ApiModelProperty(value = "关键词列表")
    private String word;

}
